<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="div1">
			<div id="div2">
				<p>p1</p>
				<p>p2</p>
			</div>
		</div>
		<script>
			function someAction() {

			}
			let div = document.getElementById('div2')
			div.addEventListener("click", someAction)
		</script>
	</body>
</html>
